Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.6 KB

File metadata and controls

32 lines (23 loc) · 1.6 KB

SolContractCallAccount

The information about the account involved in a Solana instruction.

Properties

Name Type Description Notes
pubkey str The public key of the account. If the account is a signer of this transaction, this property must be the same as the value of the `source.address` property.
is_signer bool Whether the account is the signer of this transaction: - `true`: The account is a signer. - `false`: The account is not a signer.
is_writable bool Whether the account can be modified by the instruction: - `true`: The account can be modified by the instruction. - `false`: The account cannot be modified by the instruction.

Example

from cobo_waas2.models.sol_contract_call_account import SolContractCallAccount

# TODO update the JSON string below
json = "{}"
# create an instance of SolContractCallAccount from a JSON string
sol_contract_call_account_instance = SolContractCallAccount.from_json(json)
# print the JSON string representation of the object
print(SolContractCallAccount.to_json())

# convert the object into a dict
sol_contract_call_account_dict = sol_contract_call_account_instance.to_dict()
# create an instance of SolContractCallAccount from a dict
sol_contract_call_account_from_dict = SolContractCallAccount.from_dict(sol_contract_call_account_dict)

[Back to Model list] [Back to API list] [Back to README]