@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/clients
utila
UtilaTransactionClient
Class UtilaTransactionClient
Hierarchy
UtilaBaseClient
UtilaTransactionClient
Index
Constructors
constructor
Properties
client
Methods
generate
Token
get
Constructors
constructor
new
UtilaTransactionClient
(
args
:
{
baseUrl
:
string
;
serviceAccountEmail
:
string
;
serviceAccountPrivateKey
:
string
;
}
,
)
:
UtilaTransactionClient
Parameters
args
:
{
baseUrl
:
string
;
serviceAccountEmail
:
string
;
serviceAccountPrivateKey
:
string
;
}
Returns
UtilaTransactionClient
Properties
Protected
Readonly
client
client
:
Client
<
paths
>
Methods
generate
Token
generateToken
()
:
string
Returns
string
get
get
(
args
:
{
transactionId
:
string
;
vaultId
:
string
}
,
)
:
Promise
<
{
referencedAddressesInfo
?:
{
[
key
:
string
]:
{
addressBookEntry
?:
string
;
wallet
?:
string
;
walletAddress
?:
string
;
}
;
}
;
referencedResources
?:
{
[
key
:
string
]:
{
asset
?:
{
convertedValue
?:
{
amount
?:
string
;
currencyCode
?:
string
}
;
decimals
?:
number
;
displayName
?:
string
;
name
?:
string
;
network
?:
string
;
symbol
?:
string
;
tokenInfo
?:
{
contractAddress
?:
string
;
denom
?:
string
;
standard
?:
|
"ERC20"
|
"ERC721"
|
"ERC1155"
|
"TRC20"
|
"SPL_TOKEN"
|
"SPL_TOKEN_2022"
|
"ICS20"
|
"JETTON"
;
}
;
type
?:
"NATIVE_CURRENCY"
|
"TOKEN"
;
}
;
transaction
?:
{
blockNumber
?:
string
;
btcTransaction
?:
{
asset
?:
string
;
fee
?:
string
;
inputs
?:
(...)
[]
;
outputs
?:
(...)
[]
;
}
;
confirmTime
?:
string
;
createTime
?:
string
;
designatedSigners
?:
string
[]
;
direction
?:
"INCOMING"
|
"OUTGOING"
;
evmMessage
?:
{
message
?:
string
;
signature
?:
string
;
type
?:
"PERSONAL_SIGN"
|
"SIGN_TYPED_DATA_V4"
;
}
;
evmTransaction
?:
{
data
?:
string
;
fee
?:
{
gasLimit
?:
...
;
gasPrice
?:
...
;
gasUsed
?:
...
;
maxFeePerGas
?:
...
;
maxPriorityFeePerGas
?:
...
;
}
;
fromAddress
?:
{
infoRef
?:
...
;
value
?:
...
}
;
toAddress
?:
{
infoRef
?:
...
;
value
?:
...
}
;
value
?:
string
;
}
;
expireTime
?:
string
;
hash
?:
string
;
mineTime
?:
string
;
name
?:
string
;
network
?:
string
;
note
?:
string
;
replacementTransaction
?:
string
;
request
?:
{
approveTime
?:
string
;
blockingTransaction
?:
string
;
cancelTime
?:
string
;
declineTime
?:
string
;
dropTime
?:
string
;
expireTime
?:
string
;
failTime
?:
string
;
initiator
?:
string
;
name
?:
string
;
publish
?:
boolean
;
publishTime
?:
string
;
signingSessions
?:
(...)
[]
;
signTime
?:
string
;
sourceWallet
?:
string
;
}
;
signingSession
?:
string
;
solanaSignMessage
?:
{
message
?:
string
;
signature
?:
string
;
signer
?:
{
infoRef
?:
...
;
value
?:
...
}
;
}
;
solanaTransaction
?:
{
fee
?:
string
;
rawTransaction
?:
string
;
utilaSigners
?:
(...)
[]
;
}
;
spam
?:
boolean
;
state
?:
|
"DECLINED"
|
"FAILED"
|
"AWAITING_APPROVAL"
|
"AWAITING_AML_POLICY_CHECK"
|
"DECLINED_BY_AML_POLICY"
|
"AWAITING_POLICY_CHECK"
|
"AWAITING_SIGNATURE"
|
"SIGNED"
|
"AWAITING_PUBLISH"
|
"PUBLISHED"
|
"MINED"
|
"REPLACED"
|
"CANCELED"
|
"DROPPED"
|
"CONFIRMED"
|
"EXPIRED"
;
subType
?:
|
"NATIVE_TRANSFER"
|
"TOKEN_TRANSFER"
|
"NON_FUNGIBLE_TOKEN_TRANSFER"
|
"TOKEN_APPROVAL"
|
"PERSONAL_SIGN"
|
"SIGN_TYPED_DATA"
|
"EVM_ACCOUNT_DELEGATION"
|
"CONTRACT_CALL"
|
"NATIVE_MULTI_TRANSFER"
|
"NON_FUNGIBLE_TOKEN_APPROVAL"
|
"CONNECTION_TRANSFER"
|
"BATCH_TRANSFER"
|
"TOKEN_MINT"
|
"TOKEN_BURN"
|
"PROGRAM_CALL"
|
"CONTRACT_DEPLOYMENT"
|
"TON_PROOF"
|
"TON_SIGN_DATA"
|
"SOLANA_SIGN_MESSAGE"
;
thetaTransaction
?:
{
sendTransaction
?:
{
fee
?:
...
;
inputs
?:
...
;
outputs
?:
...
}
;
}
;
tokenAllowances
?:
{
amount
?:
(...)
|
(...)
;
approverAddress
?:
(...)
|
(...)
;
asset
?:
(...)
|
(...)
;
miningPrice
?:
(...)
|
(...)
;
spenderAddress
?:
(...)
|
(...)
;
}
[]
;
tonProof
?:
{
address
?:
string
;
appDomain
?:
string
;
payload
?:
string
;
signature
?:
string
;
timestamp
?:
string
;
}
;
tonSignData
?:
{
cell
?:
string
;
publicKey
?:
string
;
schemaCrc
?:
string
;
signature
?:
string
;
timestamp
?:
string
;
}
;
tonTransaction
?:
{
amount
?:
string
;
memo
?:
string
;
messages
?:
(...)
[]
;
sender
?:
{
infoRef
?:
...
;
value
?:
...
}
;
seqno
?:
string
;
validUntil
?:
string
;
}
;
transfers
?:
{
amount
?:
(...)
|
(...)
;
asset
?:
(...)
|
(...)
;
destinationAddress
?:
(...)
|
(...)
;
miningPrice
?:
(...)
|
(...)
;
note
?:
(...)
|
(...)
;
sourceAddress
?:
(...)
|
(...)
;
}
[]
;
tronTransaction
?:
{
fee
?:
{
convertedValue
?:
...
;
usedSun
?:
...
}
;
triggerSmartContract
?:
{
callValue
?:
...
;
contractAddress
?:
...
;
data
?:
...
;
ownerAddress
?:
...
;
}
;
}
;
type
?:
"TRANSACTION"
|
"MESSAGE"
;
}
;
user
?:
{
email
:
string
;
fullname
?:
string
;
name
?:
string
;
pictureUri
?:
string
;
type
?:
"USER_ACCOUNT"
|
"SERVICE_ACCOUNT"
;
vaultContext
?:
{
role
?:
"ADMIN"
|
"SIGNER"
|
"VIEWER"
|
"OWNER"
;
status
?:
"PENDING"
|
"ACTIVE"
;
vaultId
?:
string
;
}
;
}
;
wallet
?:
{
archived
?:
boolean
;
btcDetails
?:
{
btcNetworkDetails
?:
(...)
[]
}
;
convertedValue
?:
{
amount
?:
string
;
currencyCode
?:
string
}
;
displayName
:
string
;
evmDetails
?:
{
address
?:
string
}
;
external
?:
boolean
;
name
?:
string
;
networks
:
string
[]
;
solanaDetails
?:
{
address
?:
string
}
;
tonDetails
?:
{
address
?:
string
}
;
tronDetails
?:
{
address
?:
string
}
;
}
;
walletAddress
?:
{
address
?:
string
;
displayName
?:
string
;
format
?:
|
"BITCOIN_P2PKH"
|
"BITCOIN_P2WPKH"
|
"EVM"
|
"TRON_BASE58"
|
"BASE58"
|
"TON_NON_BOUNCEABLE"
|
"SUBSTRATE_58"
;
key
?:
string
;
keyDerivationPath
?:
string
[]
;
name
?:
string
;
network
:
string
;
note
?:
string
;
type
?:
"MAIN"
|
"DEPOSIT"
|
"CHANGE"
;
}
;
}
;
}
;
transaction
?:
{
blockNumber
?:
string
;
btcTransaction
?:
{
asset
?:
string
;
fee
?:
string
;
inputs
?:
{
address
?:
{
infoRef
?:
...
;
value
?:
...
}
;
amount
?:
string
;
signingSession
?:
string
;
}
[]
;
outputs
?:
{
address
?:
{
infoRef
?:
...
;
value
?:
...
}
;
amount
?:
string
}
[]
;
}
;
confirmTime
?:
string
;
createTime
?:
string
;
designatedSigners
?:
string
[]
;
direction
?:
"INCOMING"
|
"OUTGOING"
;
evmMessage
?:
{
message
?:
string
;
signature
?:
string
;
type
?:
"PERSONAL_SIGN"
|
"SIGN_TYPED_DATA_V4"
;
}
;
evmTransaction
?:
{
data
?:
string
;
fee
?:
{
gasLimit
?:
string
;
gasPrice
?:
string
;
gasUsed
?:
string
;
maxFeePerGas
?:
string
;
maxPriorityFeePerGas
?:
string
;
}
;
fromAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
toAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
value
?:
string
;
}
;
expireTime
?:
string
;
hash
?:
string
;
mineTime
?:
string
;
name
?:
string
;
network
?:
string
;
note
?:
string
;
replacementTransaction
?:
string
;
request
?:
{
approveTime
?:
string
;
blockingTransaction
?:
string
;
cancelTime
?:
string
;
declineTime
?:
string
;
dropTime
?:
string
;
expireTime
?:
string
;
failTime
?:
string
;
initiator
?:
string
;
name
?:
string
;
publish
?:
boolean
;
publishTime
?:
string
;
signingSessions
?:
string
[]
;
signTime
?:
string
;
sourceWallet
?:
string
;
}
;
signingSession
?:
string
;
solanaSignMessage
?:
{
message
?:
string
;
signature
?:
string
;
signer
?:
{
infoRef
?:
string
;
value
?:
string
}
;
}
;
solanaTransaction
?:
{
fee
?:
string
;
rawTransaction
?:
string
;
utilaSigners
?:
{
infoRef
?:
string
;
value
?:
string
}
[]
;
}
;
spam
?:
boolean
;
state
?:
|
"DECLINED"
|
"FAILED"
|
"AWAITING_APPROVAL"
|
"AWAITING_AML_POLICY_CHECK"
|
"DECLINED_BY_AML_POLICY"
|
"AWAITING_POLICY_CHECK"
|
"AWAITING_SIGNATURE"
|
"SIGNED"
|
"AWAITING_PUBLISH"
|
"PUBLISHED"
|
"MINED"
|
"REPLACED"
|
"CANCELED"
|
"DROPPED"
|
"CONFIRMED"
|
"EXPIRED"
;
subType
?:
|
"NATIVE_TRANSFER"
|
"TOKEN_TRANSFER"
|
"NON_FUNGIBLE_TOKEN_TRANSFER"
|
"TOKEN_APPROVAL"
|
"PERSONAL_SIGN"
|
"SIGN_TYPED_DATA"
|
"EVM_ACCOUNT_DELEGATION"
|
"CONTRACT_CALL"
|
"NATIVE_MULTI_TRANSFER"
|
"NON_FUNGIBLE_TOKEN_APPROVAL"
|
"CONNECTION_TRANSFER"
|
"BATCH_TRANSFER"
|
"TOKEN_MINT"
|
"TOKEN_BURN"
|
"PROGRAM_CALL"
|
"CONTRACT_DEPLOYMENT"
|
"TON_PROOF"
|
"TON_SIGN_DATA"
|
"SOLANA_SIGN_MESSAGE"
;
thetaTransaction
?:
{
sendTransaction
?:
{
fee
?:
{
tfuelWei
?:
(...)
|
(...)
;
thetaWei
?:
(...)
|
(...)
}
;
inputs
?:
{
address
?:
...
;
coins
?:
...
}
[]
;
outputs
?:
{
address
?:
...
;
coins
?:
...
}
[]
;
}
;
}
;
tokenAllowances
?:
{
amount
?:
string
;
approverAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
asset
?:
string
;
miningPrice
?:
{
amount
?:
string
;
currencyCode
?:
string
}
;
spenderAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
}
[]
;
tonProof
?:
{
address
?:
string
;
appDomain
?:
string
;
payload
?:
string
;
signature
?:
string
;
timestamp
?:
string
;
}
;
tonSignData
?:
{
cell
?:
string
;
publicKey
?:
string
;
schemaCrc
?:
string
;
signature
?:
string
;
timestamp
?:
string
;
}
;
tonTransaction
?:
{
amount
?:
string
;
memo
?:
string
;
messages
?:
{
address
:
string
;
amount
:
string
;
payload
?:
string
;
stateInit
?:
string
;
}
[]
;
sender
?:
{
infoRef
?:
string
;
value
?:
string
}
;
seqno
?:
string
;
validUntil
?:
string
;
}
;
transfers
?:
{
amount
?:
string
;
asset
?:
string
;
destinationAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
miningPrice
?:
{
amount
?:
string
;
currencyCode
?:
string
}
;
note
?:
string
;
sourceAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
}
[]
;
tronTransaction
?:
{
fee
?:
{
convertedValue
?:
{
amount
?:
(...)
|
(...)
;
currencyCode
?:
(...)
|
(...)
;
}
;
usedSun
?:
string
;
}
;
triggerSmartContract
?:
{
callValue
?:
string
;
contractAddress
?:
{
infoRef
?:
(...)
|
(...)
;
value
?:
(...)
|
(...)
}
;
data
?:
string
;
ownerAddress
?:
{
infoRef
?:
(...)
|
(...)
;
value
?:
(...)
|
(...)
}
;
}
;
}
;
type
?:
"TRANSACTION"
|
"MESSAGE"
;
}
;
}
,
>
Parameters
args
:
{
transactionId
:
string
;
vaultId
:
string
}
Returns
Promise
<
{
referencedAddressesInfo
?:
{
[
key
:
string
]:
{
addressBookEntry
?:
string
;
wallet
?:
string
;
walletAddress
?:
string
;
}
;
}
;
referencedResources
?:
{
[
key
:
string
]:
{
asset
?:
{
convertedValue
?:
{
amount
?:
string
;
currencyCode
?:
string
}
;
decimals
?:
number
;
displayName
?:
string
;
name
?:
string
;
network
?:
string
;
symbol
?:
string
;
tokenInfo
?:
{
contractAddress
?:
string
;
denom
?:
string
;
standard
?:
|
"ERC20"
|
"ERC721"
|
"ERC1155"
|
"TRC20"
|
"SPL_TOKEN"
|
"SPL_TOKEN_2022"
|
"ICS20"
|
"JETTON"
;
}
;
type
?:
"NATIVE_CURRENCY"
|
"TOKEN"
;
}
;
transaction
?:
{
blockNumber
?:
string
;
btcTransaction
?:
{
asset
?:
string
;
fee
?:
string
;
inputs
?:
(...)
[]
;
outputs
?:
(...)
[]
;
}
;
confirmTime
?:
string
;
createTime
?:
string
;
designatedSigners
?:
string
[]
;
direction
?:
"INCOMING"
|
"OUTGOING"
;
evmMessage
?:
{
message
?:
string
;
signature
?:
string
;
type
?:
"PERSONAL_SIGN"
|
"SIGN_TYPED_DATA_V4"
;
}
;
evmTransaction
?:
{
data
?:
string
;
fee
?:
{
gasLimit
?:
...
;
gasPrice
?:
...
;
gasUsed
?:
...
;
maxFeePerGas
?:
...
;
maxPriorityFeePerGas
?:
...
;
}
;
fromAddress
?:
{
infoRef
?:
...
;
value
?:
...
}
;
toAddress
?:
{
infoRef
?:
...
;
value
?:
...
}
;
value
?:
string
;
}
;
expireTime
?:
string
;
hash
?:
string
;
mineTime
?:
string
;
name
?:
string
;
network
?:
string
;
note
?:
string
;
replacementTransaction
?:
string
;
request
?:
{
approveTime
?:
string
;
blockingTransaction
?:
string
;
cancelTime
?:
string
;
declineTime
?:
string
;
dropTime
?:
string
;
expireTime
?:
string
;
failTime
?:
string
;
initiator
?:
string
;
name
?:
string
;
publish
?:
boolean
;
publishTime
?:
string
;
signingSessions
?:
(...)
[]
;
signTime
?:
string
;
sourceWallet
?:
string
;
}
;
signingSession
?:
string
;
solanaSignMessage
?:
{
message
?:
string
;
signature
?:
string
;
signer
?:
{
infoRef
?:
...
;
value
?:
...
}
;
}
;
solanaTransaction
?:
{
fee
?:
string
;
rawTransaction
?:
string
;
utilaSigners
?:
(...)
[]
;
}
;
spam
?:
boolean
;
state
?:
|
"DECLINED"
|
"FAILED"
|
"AWAITING_APPROVAL"
|
"AWAITING_AML_POLICY_CHECK"
|
"DECLINED_BY_AML_POLICY"
|
"AWAITING_POLICY_CHECK"
|
"AWAITING_SIGNATURE"
|
"SIGNED"
|
"AWAITING_PUBLISH"
|
"PUBLISHED"
|
"MINED"
|
"REPLACED"
|
"CANCELED"
|
"DROPPED"
|
"CONFIRMED"
|
"EXPIRED"
;
subType
?:
|
"NATIVE_TRANSFER"
|
"TOKEN_TRANSFER"
|
"NON_FUNGIBLE_TOKEN_TRANSFER"
|
"TOKEN_APPROVAL"
|
"PERSONAL_SIGN"
|
"SIGN_TYPED_DATA"
|
"EVM_ACCOUNT_DELEGATION"
|
"CONTRACT_CALL"
|
"NATIVE_MULTI_TRANSFER"
|
"NON_FUNGIBLE_TOKEN_APPROVAL"
|
"CONNECTION_TRANSFER"
|
"BATCH_TRANSFER"
|
"TOKEN_MINT"
|
"TOKEN_BURN"
|
"PROGRAM_CALL"
|
"CONTRACT_DEPLOYMENT"
|
"TON_PROOF"
|
"TON_SIGN_DATA"
|
"SOLANA_SIGN_MESSAGE"
;
thetaTransaction
?:
{
sendTransaction
?:
{
fee
?:
...
;
inputs
?:
...
;
outputs
?:
...
}
;
}
;
tokenAllowances
?:
{
amount
?:
(...)
|
(...)
;
approverAddress
?:
(...)
|
(...)
;
asset
?:
(...)
|
(...)
;
miningPrice
?:
(...)
|
(...)
;
spenderAddress
?:
(...)
|
(...)
;
}
[]
;
tonProof
?:
{
address
?:
string
;
appDomain
?:
string
;
payload
?:
string
;
signature
?:
string
;
timestamp
?:
string
;
}
;
tonSignData
?:
{
cell
?:
string
;
publicKey
?:
string
;
schemaCrc
?:
string
;
signature
?:
string
;
timestamp
?:
string
;
}
;
tonTransaction
?:
{
amount
?:
string
;
memo
?:
string
;
messages
?:
(...)
[]
;
sender
?:
{
infoRef
?:
...
;
value
?:
...
}
;
seqno
?:
string
;
validUntil
?:
string
;
}
;
transfers
?:
{
amount
?:
(...)
|
(...)
;
asset
?:
(...)
|
(...)
;
destinationAddress
?:
(...)
|
(...)
;
miningPrice
?:
(...)
|
(...)
;
note
?:
(...)
|
(...)
;
sourceAddress
?:
(...)
|
(...)
;
}
[]
;
tronTransaction
?:
{
fee
?:
{
convertedValue
?:
...
;
usedSun
?:
...
}
;
triggerSmartContract
?:
{
callValue
?:
...
;
contractAddress
?:
...
;
data
?:
...
;
ownerAddress
?:
...
;
}
;
}
;
type
?:
"TRANSACTION"
|
"MESSAGE"
;
}
;
user
?:
{
email
:
string
;
fullname
?:
string
;
name
?:
string
;
pictureUri
?:
string
;
type
?:
"USER_ACCOUNT"
|
"SERVICE_ACCOUNT"
;
vaultContext
?:
{
role
?:
"ADMIN"
|
"SIGNER"
|
"VIEWER"
|
"OWNER"
;
status
?:
"PENDING"
|
"ACTIVE"
;
vaultId
?:
string
;
}
;
}
;
wallet
?:
{
archived
?:
boolean
;
btcDetails
?:
{
btcNetworkDetails
?:
(...)
[]
}
;
convertedValue
?:
{
amount
?:
string
;
currencyCode
?:
string
}
;
displayName
:
string
;
evmDetails
?:
{
address
?:
string
}
;
external
?:
boolean
;
name
?:
string
;
networks
:
string
[]
;
solanaDetails
?:
{
address
?:
string
}
;
tonDetails
?:
{
address
?:
string
}
;
tronDetails
?:
{
address
?:
string
}
;
}
;
walletAddress
?:
{
address
?:
string
;
displayName
?:
string
;
format
?:
|
"BITCOIN_P2PKH"
|
"BITCOIN_P2WPKH"
|
"EVM"
|
"TRON_BASE58"
|
"BASE58"
|
"TON_NON_BOUNCEABLE"
|
"SUBSTRATE_58"
;
key
?:
string
;
keyDerivationPath
?:
string
[]
;
name
?:
string
;
network
:
string
;
note
?:
string
;
type
?:
"MAIN"
|
"DEPOSIT"
|
"CHANGE"
;
}
;
}
;
}
;
transaction
?:
{
blockNumber
?:
string
;
btcTransaction
?:
{
asset
?:
string
;
fee
?:
string
;
inputs
?:
{
address
?:
{
infoRef
?:
...
;
value
?:
...
}
;
amount
?:
string
;
signingSession
?:
string
;
}
[]
;
outputs
?:
{
address
?:
{
infoRef
?:
...
;
value
?:
...
}
;
amount
?:
string
}
[]
;
}
;
confirmTime
?:
string
;
createTime
?:
string
;
designatedSigners
?:
string
[]
;
direction
?:
"INCOMING"
|
"OUTGOING"
;
evmMessage
?:
{
message
?:
string
;
signature
?:
string
;
type
?:
"PERSONAL_SIGN"
|
"SIGN_TYPED_DATA_V4"
;
}
;
evmTransaction
?:
{
data
?:
string
;
fee
?:
{
gasLimit
?:
string
;
gasPrice
?:
string
;
gasUsed
?:
string
;
maxFeePerGas
?:
string
;
maxPriorityFeePerGas
?:
string
;
}
;
fromAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
toAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
value
?:
string
;
}
;
expireTime
?:
string
;
hash
?:
string
;
mineTime
?:
string
;
name
?:
string
;
network
?:
string
;
note
?:
string
;
replacementTransaction
?:
string
;
request
?:
{
approveTime
?:
string
;
blockingTransaction
?:
string
;
cancelTime
?:
string
;
declineTime
?:
string
;
dropTime
?:
string
;
expireTime
?:
string
;
failTime
?:
string
;
initiator
?:
string
;
name
?:
string
;
publish
?:
boolean
;
publishTime
?:
string
;
signingSessions
?:
string
[]
;
signTime
?:
string
;
sourceWallet
?:
string
;
}
;
signingSession
?:
string
;
solanaSignMessage
?:
{
message
?:
string
;
signature
?:
string
;
signer
?:
{
infoRef
?:
string
;
value
?:
string
}
;
}
;
solanaTransaction
?:
{
fee
?:
string
;
rawTransaction
?:
string
;
utilaSigners
?:
{
infoRef
?:
string
;
value
?:
string
}
[]
;
}
;
spam
?:
boolean
;
state
?:
|
"DECLINED"
|
"FAILED"
|
"AWAITING_APPROVAL"
|
"AWAITING_AML_POLICY_CHECK"
|
"DECLINED_BY_AML_POLICY"
|
"AWAITING_POLICY_CHECK"
|
"AWAITING_SIGNATURE"
|
"SIGNED"
|
"AWAITING_PUBLISH"
|
"PUBLISHED"
|
"MINED"
|
"REPLACED"
|
"CANCELED"
|
"DROPPED"
|
"CONFIRMED"
|
"EXPIRED"
;
subType
?:
|
"NATIVE_TRANSFER"
|
"TOKEN_TRANSFER"
|
"NON_FUNGIBLE_TOKEN_TRANSFER"
|
"TOKEN_APPROVAL"
|
"PERSONAL_SIGN"
|
"SIGN_TYPED_DATA"
|
"EVM_ACCOUNT_DELEGATION"
|
"CONTRACT_CALL"
|
"NATIVE_MULTI_TRANSFER"
|
"NON_FUNGIBLE_TOKEN_APPROVAL"
|
"CONNECTION_TRANSFER"
|
"BATCH_TRANSFER"
|
"TOKEN_MINT"
|
"TOKEN_BURN"
|
"PROGRAM_CALL"
|
"CONTRACT_DEPLOYMENT"
|
"TON_PROOF"
|
"TON_SIGN_DATA"
|
"SOLANA_SIGN_MESSAGE"
;
thetaTransaction
?:
{
sendTransaction
?:
{
fee
?:
{
tfuelWei
?:
(...)
|
(...)
;
thetaWei
?:
(...)
|
(...)
}
;
inputs
?:
{
address
?:
...
;
coins
?:
...
}
[]
;
outputs
?:
{
address
?:
...
;
coins
?:
...
}
[]
;
}
;
}
;
tokenAllowances
?:
{
amount
?:
string
;
approverAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
asset
?:
string
;
miningPrice
?:
{
amount
?:
string
;
currencyCode
?:
string
}
;
spenderAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
}
[]
;
tonProof
?:
{
address
?:
string
;
appDomain
?:
string
;
payload
?:
string
;
signature
?:
string
;
timestamp
?:
string
;
}
;
tonSignData
?:
{
cell
?:
string
;
publicKey
?:
string
;
schemaCrc
?:
string
;
signature
?:
string
;
timestamp
?:
string
;
}
;
tonTransaction
?:
{
amount
?:
string
;
memo
?:
string
;
messages
?:
{
address
:
string
;
amount
:
string
;
payload
?:
string
;
stateInit
?:
string
;
}
[]
;
sender
?:
{
infoRef
?:
string
;
value
?:
string
}
;
seqno
?:
string
;
validUntil
?:
string
;
}
;
transfers
?:
{
amount
?:
string
;
asset
?:
string
;
destinationAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
miningPrice
?:
{
amount
?:
string
;
currencyCode
?:
string
}
;
note
?:
string
;
sourceAddress
?:
{
infoRef
?:
string
;
value
?:
string
}
;
}
[]
;
tronTransaction
?:
{
fee
?:
{
convertedValue
?:
{
amount
?:
(...)
|
(...)
;
currencyCode
?:
(...)
|
(...)
;
}
;
usedSun
?:
string
;
}
;
triggerSmartContract
?:
{
callValue
?:
string
;
contractAddress
?:
{
infoRef
?:
(...)
|
(...)
;
value
?:
(...)
|
(...)
}
;
data
?:
string
;
ownerAddress
?:
{
infoRef
?:
(...)
|
(...)
;
value
?:
(...)
|
(...)
}
;
}
;
}
;
type
?:
"TRANSACTION"
|
"MESSAGE"
;
}
;
}
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
client
Methods
generate
Token
get
@cfxlabsinc/b2b-services
Loading...