Aptos
Last updated
Last updated
Aptos supports the following signature kinds
:
Transaction
, unsigned transaction.
Signs an unsigned transaction in BCS format.
blockchainKind
Aptos
String
kind
Transaction
String
transaction
The unsigned BCS format transaction in hex encoding. More details bellow.
String
We accept two transaction kinds to be signed:
, this is the simplest transaction, no external fee payer, no secondary signers.
, for more complex transaction, you can pass a SignedTransaction
that will contains the RawTransaction and an authenticator depending on the transaction. Accepted authenticator are:
TransactionAuthenticatorFeePayer for sponsored transactions (single/multi sig)
TransactionAuthenticatorMultiAgent for multi signature transactions (not sponsored)
All the passed transactions should be serialized and in hex encoding.
You can find advanced transaction constructs in our .
First install the Aptos SDK. You can find the source code here:
Here a code sample to generate a signature for a basic transaction via :