FELT
, a number represented by a hex string. Prefixed with 0x. It can be left padded with zeroes or not. It follows the Cairo Field Element specABI
, a representation of a Starknet contract’s interface. As Starknet ABI Spec
starknet_requestAddInvokeTransaction
Requests the wallet to sign and submit a INVOKE transaction This request might be processed before the account is deployed. In that scenario the wallet will ask the user to do the deployment and the requested transaction.Parameters
Example Parameters
Returns
FELT
,transaction_hash
: The hash of the transaction submitted by the wallet
Example
starknet_signTypedData
Request the wallet to sign an Off-chain message as defined here Starknet Off-chain message spec. This is similar to Ethereum’s EIP-712 This request might be processed before the account is deployed. In that scenario the wallet will ask the user to do the deployment and sign the dataParameters
account, messageExample Parameters
Returns
FELT[]
,signature
: Signature as an array of Felts