--- title: getCurrentRefBlockParams description: "Retrieves the reference block parameters (ref_block_bytes, ref_block_hash, expiration, timestamp) needed to build transactions." keywords: ["getcurrentrefblockparams", "trx", "ref block", "transaction building", "blockheader"] --- # getCurrentRefBlockParams Retrieve the parameters required for transaction building ## Usage ```js tronWeb.trx.getCurrentRefBlockParams() ``` ## Return Object - with 4 properties that can be passed to transactionBuilder methods: - ref_block_bytes - ref_block_hash - expiration - timestamp ## Example ```js await tronWeb.trx.getCurrentRefBlockParams(); // output-start { ref_block_bytes: '0015', ref_block_hash: 'a7e9b8b30827c333', expiration: 1760932113000, timestamp: 1760932053000 } // output-end ```