aeternity / aepp-sdk-go

Golang SDK to interact with the Æternity blockchain
ISC License
18 stars 10 forks source link

block_height": {}, "amount": {}, "fee": {} #109

Closed smirkcat closed 5 years ago

smirkcat commented 5 years ago

@randomshinichi Still have some problems I add these image Then go build aepp-sdk-go.exe chain play -u https://sdk-testnet.aepps.com image

And then add image

then go build image The result

{
    "block_hash": "mh_Sq4VU12tp1i2Ltn6EWvHpKn26JXVfFnJTPf6SUyyqn6rLJAy",
    "block_height": {},
    "hash": "th_2EYXXQkNiMzsB38dyPXDAq9As4hK9k9wA7CeaW5cXFBPQw9Btf",
    "signatures": [
        "sg_UAaztdR4HSJcqo187yQq2x9XWVPDYBZB42noRjFaKyk1ZNmfkYFKpJMrmkDwMC74s6jonabyHeC6UsL45CQDTmaQYRfxv"
    ],
    "tx": {
        "amount": {},
        "fee": {},
        "nonce": 91517,
        "payload": "ba_MTExNzEzOmtoXzJhMkRvQTRiZlplVHhwVUFrZnVlRGRjQnhWdm1mamNqZVBMR2VkeTg3aGNVQXh1RWtwOm1oXzJmZGZDY0FKQUdBTlRqZFpUd01SUXRIVUd0VzJkV2tlZWFibUpTNVVmOG5pdlJhQWFCOjE1NjM1MjcwNDSJmM8P",
        "recipient_id": "ak_JGMjbAS6UBCmsZR3ck1UR5KXLaBp1bsckf7cJiMDw6av5C3ie",
        "sender_id": "ak_JGMjbAS6UBCmsZR3ck1UR5KXLaBp1bsckf7cJiMDw6av5C3ie",
        "ttl": 111723,
        "type": "SpendTx",
        "version": 1
    }
}

the amount、 fee and the block_height hava no result returned is {}

Originally posted by @smirkcat in https://github.com/aeternity/aepp-sdk-go/issues/74#issuecomment-513157070

randomshinichi commented 5 years ago

Acknowledged. I had no idea this function was meant to print out Transactions too, thank you very much!