Interface

TransferCommonParams

TransferCommonParams

Properties:
Name Type Attributes Description
senderVaultId number

Vault ID of sender to locate the fund

senderPublicKey string

Stark key of sender

senderWalletAddress string

Wallet address of sender

receiverVaultId number

Vault ID of receiver (destinated vault to receive the fund)

receiverPublicKey string

Stark Key of receiver

assetId string

The hex string of the asset ID

quantizedAmount string

The amount of used tokens based on QUANTUM with token type

nonce number <optional>

The unique sequence number to locate the transaction in both of on-chain and off-chain

expirationTimestamp number <optional>

The generated timestamp to define the expire time for the transaction

groupRequestId string <optional>

Unique group request ID for the transaction

partnerRefId string <optional>

Unique partner group request ID as Project ID in Myria system

tokenType TokenType

type of token for transfer

myriaPrivateStarkKey string <optional>

The myria private stark key is to generate the stark signature without the metamask session

View Source types/TransactionTypes.ts, line 246