# [Ride v5] SetAssetScriptTransaction
⚠️ This is the documentation for the Standard Library version 5, which is currently available for Stagenet only. Go to Mainnet version
Structure of a set asset script transaction.
# Constructor
SetAssetScriptTransaction(script: ByteVector|Unit, assetId: ByteVector, id: ByteVector, fee: Int, timestamp: Int, version: Int, sender: Address, senderPublicKey: ByteVector, bodyBytes: ByteVector, proofs: List[ByteVector])
# Fields
# | Name | Data type | Description |
---|---|---|---|
1 | script | ByteVector|Unit | Asset script |
2 | assetId | ByteVector | Token ID |
3 | id | ByteVector | Transaction ID |
4 | fee | Int | Transaction fee |
5 | timestamp | Int | Transaction timestamp |
6 | version | Int | Transaction version |
7 | sender | Address | Address of the transaction sender |
8 | senderPublicKey | ByteVector | Public key of the transaction sender |
9 | bodyBytes | ByteVector | Transaction body bytes |
10 | proofs | List[ByteVector] | Proofs |