the fio public key of the client sending requests to FIO API.
the url or list of urls to the FIO API.
the module to use for HTTP Post/Get calls How to instantiate fetchJson parameter:
// i.e.
fetch = require('node-fetch')
const fetchJson = async (uri, opts = {}) => {
return fetch(uri, opts)
}
OptionalregisterMockUrl: null | stringthe url to the mock server
OptionaltechnologyProviderId: null | stringDefault FIO Address of the wallet which generates transactions.
OptionalreturnPreparedTrx: null | booleanflag indicate that it should return prepared transaction or should be pushed to server.
Optionallogger: null | FioLoggerFioLogger FIO logger to handle all requests.
the fio private key of the client sending requests to FIO API.
the fio public key of the client sending requests to FIO API.
Stored raw abi missing warnings
Default FIO Address of the wallet which generates transactions.
StaticSUFUnitSUFs = Smallest Units of FIO
StaticrawOptionalabiOptionaltextOptionaltextOptionalabiOptionaltextOptionaltextStaticabiFIO Address to transfer. The owner will be the public key associated with the FIO SDK instance.
Number of sets of bundles to add to FIO Address.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
OptionalexpirationOffset: null | numberExpiration time offset for this transaction in seconds. Default is 180 seconds. Increasing number of seconds gives transaction more lifetime term.
Adds bundles of transactions to FIO Address.
FIO Address which will be mapped to public address.
Blockchain code for blockchain hosting this token.
Token code to be used with that public address.
The public address to be added to the FIO Address for the specified token.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
This call allows a public address of the specific blockchain type to be added to the FIO Address.
FIO Address which will be mapped to public addresses.
Array of public addresses to be added to the FIO Address for the specified token.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
This call allows a public addresses of the specific blockchain type to be added to the FIO Address.
FIO Address to burn. The owner will be the public key associated with the FIO SDK instance.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
Burns a FIO Address on the FIO blockchain.
The id of the request.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
This call cancels the specified fio funds request.
Execute prepared transaction.
endpoint.
Rest...args: GenericActions[typeof GenericAction[T]]["options"]FIO account.
Retrieves info on account for this actor
Polls for any cancelled requests sent by public key associated with the FIO SDK instance.
FIO public key
Name of API call end point, e.g. add_pub_address.
OptionalfioAddress: null | stringif endPointName is RenewFioAddress, FIO Address incurring the fee and owned by signer. if endPointName is RenewFioDomain, FIO Domain incurring the fee and owned by signer. if endPointName is RecordObtData, Payer FIO Address incurring the fee and owned by signer.
Omit for:
Compute and return fee amount for specific call and specific user
FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
Payee FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
Payer FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
Payer FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
FIO Address incurring the fee and owned by signer.
Compute and return fee amount for specific call and specific user
FIO public key of owner.
Optionallimit: null | numberNumber of request to return. If omitted, all requests will be returned.
Optionaloffset: null | numberFirst request from list to return. If omitted, 0 is assumed.
Returns FIO Addresses owned by this public key.
OptionalfioPublicKey: null | stringFIO public key.
Retrieves balance of FIO tokens
FIO public key of owner.
Optionallimit: null | numberNumber of request to return. If omitted, all requests will be returned.
Optionaloffset: null | numberFirst request from list to return. If omitted, 0 is assumed.
Returns FIO domains owned by this public key.
FIO public key of owner.
Returns FIO Addresses and FIO Domains owned by this public key.
FIO Address for which fio token public address is to be returned.
Returns the FIO token public address for specified FIO Address.
string account name of the grantee account
Optionallimit: numberNumber of request to return. If omitted, all requests will be returned.
Optionaloffset: numberFirst request from list to return. If omitted, 0 is assumed.
Gets FIO permissions for the specified grantee account.
string account name of the grantor account
Optionallimit: null | numberNumber of request to return. If omitted, all requests will be returned.
Optionaloffset: null | numberFirst request from list to return. If omitted, 0 is assumed.
Gets FIO permissions for the specified grantor account.
FIO public key.
Retrieves info on locks for this pub key
Detects the way how to get the data.
OptionalchainChain code where NFT contract resides.
OptionalcontractNFT contract address.
OptionalfioFIO Address.
Optionalhash?: null | stringSHA-256 hash of NFT asset, e.g. media url.
OptionaltokenNFT token ID.
Optionallimit: null | numberNumber of records to return. If omitted, all records will be returned. Due to table read timeout, a value of less than 1,000 is recommended.
Optionaloffset: null | numberFirst record from list to return. If omitted, 0 is assumed.
Returns all mapped NFTs which have the specified contract address and token id or FIO Address or hash.
Detects the way how to get the data.
string permission name ex register_address_on_domain
Optionallimit: null | numberNumber of request to return. If omitted, all requests will be returned.
Optionaloffset: null | numberFirst request from list to return. If omitted, 0 is assumed.
Gets FIO permissions for the specified permission name and object name account.
Retrieves OBT metadata data stored using record send.
OptionalpublicKey: null | stringPolls for any pending requests sent to public key associated with the FIO SDK instance.
FIO Address for which the token public address is to be returned.
Blockchain code for which public address is to be returned.
Token code for which public address is to be returned.
Returns a token public address for specified token code and FIO Address.
FIO Address for which the token public address is to be returned.
Optionallimit: null | numberNumber of results to return. If omitted, all results will be returned.
Optionaloffset: null | numberFirst result from list to return. If omitted, 0 is assumed.
Returns all public addresses for specified FIO Address.
Polls for any received requests sent to public key associated with the FIO SDK instance.
Polls for any sent requests sent by public key associated with the FIO SDK instance.
FIO Address or FIO Domain to check.
Checks if a FIO Address or FIO Domain is available for registration.
Allows advance user to send their own content directly to FIO contracts
Records information on the FIO blockchain about a transaction that occurred on other blockchain, i.e. 1 BTC was sent on Bitcoin Blockchain, and both sender and receiver have FIO Addresses. OBT stands for Other Blockchain Transaction
FIO Address to register.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
OptionalexpirationOffset: null | numberExpiration time offset for this transaction in seconds. Default is 180 seconds. Increasing number of seconds gives transaction more lifetime term.
Registers a FIO Address on the FIO blockchain. The owner will be the public key associated with the FIO SDK instance.
FIO Domain to register. The owner will be the public key associated with the FIO SDK instance.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
OptionalexpirationOffset: null | numberExpiration time offset for this transaction in seconds. Default is 180 seconds. Increasing number of seconds gives transaction more lifetime term.
Registers a FIO Domain on the FIO blockchain.
Registers a FIO Address and FIO domain on behalf of the owner FIO Public key parameter. Owner FIO Public key owns the FIO address
FIO Address to register.
Owner FIO Public Key.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
OptionalexpirationOffset: null | numberExpiration time offset for this transaction in seconds. Default is 180 seconds. Increasing number of seconds gives transaction more lifetime term.
Registers a Fio Address on behalf of the owner FIO Public key parameter. Owner FIO Public key owns the FIO address
FIO Domain to register. The owner will be the public key associated with the FIO SDK instance.
Owner FIO Public Key.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
OptionalexpirationOffset: null | numberExpiration time offset for this transaction in seconds. Default is 180 seconds. Increasing number of seconds gives transaction more lifetime term.
Registers a FIO Domain on behalf of the owner FIO Public key parameter. Owner FIO Public key owns the FIO domain.
Existing funds requestId
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
Reject funds request.
FIO Address which will be mapped to public address.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
This call allows a user to remove all addresses from the specified FIO Address, all addresses except the FIO address will be removed.
FIO Address which will be mapped to public address.
a list of publicAddresses, each containing chain_code, token_code, and public_address.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
This call allows an any number of public addresses matching the blockchain code, the token code and the public address to be removed from the FIO Address.
FIO Address to renew.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
Renew a FIO Address on the FIO blockchain.
FIO Domain to renew.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
OptionalexpirationOffset: null | numberExpiration time offset for this transaction in seconds. Default is 180 seconds. Increasing number of seconds gives transaction more lifetime term.
Renew a FIO Domain on the FIO blockchain.
Create a new funds request on the FIO chain.
FIO Domain to change visibility.
true - allows anyone to register FIO Address, false - only owner of domain can register FIO Address.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
By default, all FIO Domains are non-public, meaning only the owner can register FIO Addresses on that domain. Setting them to public allows anyone to register a FIO Address on that domain.
Amount of SUFs to stake.
OptionalfioAddress: null | stringFIO Address if using bundled transactions to pay. May be left empty if paying a fee instead.
OptionalmaxFee: null | numberMaximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the entity which generates this transaction. TPID rewards will be paid to this address. Set to empty if not known.
Stake FIO Tokens.
FIO Address to transfer. The owner will be the public key associated with the FIO SDK instance.
FIO Public Key of the new owner.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
Transfers a FIO Address on the FIO blockchain.
FIO Domain to transfer. The owner will be the public key associated with the FIO SDK instance.
FIO Public Key of the new owner.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by @ [getFee] for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
Transfers a FIO Domain on the FIO blockchain.
this is the fio public key for the user to receive locked tokens.
true if these locked tokens can be voted, false if these locked tokens are not to be voted.
this is an array of lock periods defining the duration and percent of each period, must be in time order.
this is the amount in SUFs to be transferred.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
This call allows a user to transfer locked tokens to the specified fio public key
FIO public Address of the one receiving the tokens.
Amount sent in SUFs.
Maximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the wallet which generates this transaction.
Transfers FIO tokens from public key associated with the FIO SDK instance to the payeePublicKey.
Amount of SUFs to unstake.
OptionalfioAddress: null | stringFIO Address if using bundled transactions to pay. May be left empty if paying a fee instead.
OptionalmaxFee: null | numberMaximum amount of SUFs the user is willing to pay for fee. Should be preceded by /get_fee for correct value.
OptionaltechnologyProviderId: null | stringFIO Address of the entity which generates this transaction. TPID rewards will be paid to this address. Set to empty if not known.
Unstake FIO Tokens.
StaticSUFToStaticSUFToStaticaccountStaticamountStaticamountStaticcreateCreate a FIO private key.
Private key generation in the SDK is available for testing purposes only. Do not generate private keys for production application using this method. Instead pass securely generated private keys or seed phrase to the SDK constructor.
mnemonic used to generate a random unique private key.
New FIO private key
StaticderivedStaticisChain Code is Valid
use FIOSDK#validateChainCode Is the Chain Code Valid?
StaticisFio Address is Valid
use FIOSDK#validateFioAddress Is the FIO Address Valid?
StaticisFIO Domain is Valid
use FIOSDK#validateFioDomain Is the FIO Domain Valid?
StaticisFIO Public Key is Valid
use FIOSDK#validateFioPublicKey Is the FIO Public Key Valid?
StaticisPublic Address is Valid
use FIOSDK#validatePublicAddress Is the Public Address Valid?
StaticisToken Code is Valid
use FIOSDK#validateTokenCode Is the Token Code Valid?
StaticsetSet stored raw abi missing warnings
the fio private key of the client sending requests to FIO API.