View Transactions
Overview
You can retrieve detailed information about the transactions in your wallets. BitGo enables you to filter transactions that were rejected or transactions that are pending approval. In addition to viewing basic transaction information, such as amount or timestamps, BitGo also returns details such as:
- Block height
- Fees
- Number of co-signer confirmations
Prerequisites
Steps
1 2 3 4
wallet.transfers().then(function (transfers) { // print transfers console.dir(transfers); });
Step Result
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
{ "transfers": [ { "coin": "btc", "id": "59cd72485007a239fb00282ed480da1f", "wallet": "59cd72485007a239fb00282ed480da1f", "enterprise": "59cd72485007a239fb00282ed480da1f", "txid": "b8a828b98dbf32d9fd1875cbace9640ceb8c82626716b4a64203fdc79bb46d26", "height": 0, "heightId": "string", "date": "2019-08-24T14:15:22Z", "type": "send", "value": 0, "valueString": "string", "baseValue": 0, "baseValueString": "string", "feeString": "string", "payGoFee": 0, "payGoFeeString": "string", "usd": 0, "usdRate": 0, "state": "confirmed", "tags": [ "59cd72485007a239fb00282ed480da1f" ], "history": [ { "date": "2019-08-24T14:15:22Z", "user": "59cd72485007a239fb00282ed480da1f", "action": "created", "comment": "string" } ], "comment": "string", "vSize": 0, "nSegwitInputs": 0, "coinSpecific": {}, "sequenceId": "string", "entries": [ { "address": "2NAUwNgXaoFj2VVnSEvNLGuez8CfdU2UCMZ", "wallet": "string", "value": 0, "valueString": "string", "isChange": true, "isPayGo": true, "token": "omg", "label": "string" } ], "usersNotified": true, "confirmations": 0, "inputs": [ { "id": "003f688cc349f1fca8ac5ffa21671ca911b6ef351085c60733ed8c2ebf162cb8:2", "address": "2MsKxhhkDo5WaLaYRGA9Cr3iSQPyXsu6Fi2", "value": 0, "valueString": "2000000", "blockHeight": 0, "date": "2017-03-25T23:01:40.248Z", "coinbase": true, "wallet": "59cd72485007a239fb00282ed480da1f", "fromWallet": "59cd72485007a239fb00282ed480da1f", "chain": 0, "index": 0, "redeemScript": "522102f1e990044d2a8be43d5b500bbdcb36277b97a4b07e01c5101ae8ec1568bfd6532103dab7dc82f2fc8c28200c1bdeca9c4cf181e0ca257395829cbd599395048afb57210205422e711827d8356f2fb75334d863941dd7eb45bd5788fa231dc5fa755135b653ae", "witnessScript": "52210351311cd81144e6cbdba561d24dfc22644cb02d053339d4beace03231b3be4f372103a8d0c1a375b9ee1a2411f9f8e18373be7f228b18260f63bbfca48809170ed08b2103c3bd8bd074657bbe9ee6714b31a4a54b6fd5b5cda0e1030122f9bf46b5034f6b53ae", "isSegwit": true } ], "outputs": [ { "id": "003f688cc349f1fca8ac5ffa21671ca911b6ef351085c60733ed8c2ebf162cb8:2", "address": "2MsKxhhkDo5WaLaYRGA9Cr3iSQPyXsu6Fi2", "value": 0, "valueString": "2000000", "blockHeight": 0, "date": "2017-03-25T23:01:40.248Z", "coinbase": true, "wallet": "59cd72485007a239fb00282ed480da1f", "fromWallet": "59cd72485007a239fb00282ed480da1f", "chain": 0, "index": 0, "redeemScript": "522102f1e990044d2a8be43d5b500bbdcb36277b97a4b07e01c5101ae8ec1568bfd6532103dab7dc82f2fc8c28200c1bdeca9c4cf181e0ca257395829cbd599395048afb57210205422e711827d8356f2fb75334d863941dd7eb45bd5788fa231dc5fa755135b653ae", "witnessScript": "52210351311cd81144e6cbdba561d24dfc22644cb02d053339d4beace03231b3be4f372103a8d0c1a375b9ee1a2411f9f8e18373be7f228b18260f63bbfca48809170ed08b2103c3bd8bd074657bbe9ee6714b31a4a54b6fd5b5cda0e1030122f9bf46b5034f6b53ae", "isSegwit": true } ] } ], "coin": "btc", "nextBatchPrevId": "585951a5df8380e0e3063e9f" }