Function coreledger_backend::led_amen_get_amendment
pub fn led_amen_get_amendment(amendment_id: AmendmentId) -> Option<Amendment>
Expand description
Returns the amendment details.
§Parameters
contract_id
: Contract id of the ledger.
§Result
The amendment details, null
if not exist.
§Sample request
AMENDMENT_ID=156_384_428_531_995_775_716_355_670_017
dfx canister call coreledger_backend led_amen_get_amendment "($AMENDMENT_ID)"
§Sample response
( opt record {
hash = blob "\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\12\34\56";
created_on = 1_718_903_243_783_984_900 : nat64;
})