Class DeploymentTransaction

This class is used to provide a deployment transaction. DeploymentTransaction

Hierarchy (view full)

Implements

Constructors

Properties

burnedBitcoin: BigNumberish

Returns the amount of satoshi that were burned in the transaction.

bytecode: Buffer

The bytecode of the contract.

contractAddress: string

The sewgit generated address of the contract. (SAFE)

contractSaltHash: Buffer

The salt verification hash of the contract.

contractSeed: Buffer

The seed of the contract.

deployerAddress: string

The address of the deployer. (ALWAYS TAPROOT. This address is generated from the P2TR of the pubkey of the deployer.)

deployerPubKey: Buffer

The public key of the deployer.

The events of the transaction.

from: string

This indicates who sent the transaction.

gasUsed: bigint

The amount of gas used by the transaction.

hash: string

The transaction "hash".

id: string

The transaction ID (hash).

index: number

The index of the transaction in the block.

The inputs of the transaction.

OPNetType: Deployment

The type of the transaction.

The outputs of the transaction.

p2trAddress: string

The P2TR address of the contract. (COULD BE EXPLOITABLE)

receipt?: Buffer

The receipt of the transaction.

receiptProofs: string[]

The receipt proofs of the transaction.

revert?: Buffer

If the transaction was reverted, this field will contain the revert message.

virtualAddress: string

The virtual address of the contract.

wasCompressed: boolean

Was the binary data compressed?